package com.hlkj.pay.infrastructure.model.merchant;

import com.baomidou.mybatisplus.annotation.TableName;
import com.hlkj.framework.mybatis.core.dataobject.BaseDO;

import com.hlkj.pay.enums.MerchantEnum;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;

/**
* 汇电通报备表
* @TableName t_merchant_report_info
*/
@Data
@NoArgsConstructor
@AllArgsConstructor
@EqualsAndHashCode(callSuper = true)
@TableName("t_merchant_report_amount")
public class MerchantReportAmountDO extends BaseDO {
    @Schema(description = "报备id")
    private Long reportId;
    @Schema(description = "子商户id")
    private String subMchId;
    @Schema(description = "订单金额")
    private BigDecimal amount;
    @Schema(description = "入金时间")
    private Long recordTime;
    @Schema(description = "备注说明")
    private String remark;
    @Schema(description = "对方账户")
    private String peerAccNo;
    @Schema(description = "对方账户名称")
    private String peerAccName;
    @Schema(description = "对方银行号")
    private String peerBankNo;
    @Schema(description = "对方银行名称")
    private String peerBankName;
    @Schema(description = "电子账号 ")
    private String acctId;
    @Schema(description = "实际到账金额 ")
    private BigDecimal realAmount;
    @Schema(description = "1 审核通过 2 执行中 3 执行完成 4 执行失败 5 审核拒绝")
    /**
     * @see MerchantEnum.REPORT_AMOUNT_STATUS
     */
    private Integer status;
    /**
     * @see MerchantEnum.REPORT_AMOUNT_PROCESS_STATUS
     */
    private Integer processStatus;
    @Schema(description = "code")
    private String code;
    @Schema(description = "paymentId")
    private String paymentId;
    @Schema(description = "调拨凭证地址")
    private String proofPath;



}
